@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
            <input type="hidden" id="statusValue" value="${item.status}">
            <input type="hidden" id="levelValue" value="${item.level}">

            <div class="row col-sm-12">
                <div class="col-sm-4">
                    <#input type="text" id="code" name="编码" value="${item.code}" underline="true" disabled="disabled"/>
                </div>

                <div class="col-sm-4">
                    <#input type="select" id="status" name="状态" underline="true" items="${statuses}" />
                </div>
                <div class="col-sm-4">
                    <#input type="select" id="level" name="级别" underline="true" items="${levels}"/>
                </div>
                <div class="col-sm-6">
                    <#input type="text" id="name" name="名称" value="${item.name}" underline="true"/>
                </div>
                <div class="col-sm-6">
                    <#input type="text" id="downloadCount" name="下载个数" value="${item.downloadCount}" underline="true"/>
                </div>
            </div>

            <div class="col-sm-12">
                <#input type="text" labelWidth="col-sm-1" inputWidth="col-sm-11" id="searchUrl" name="搜索链接" value="${item.searchUrl}" labelWidth="col-sm-2"
                inputWidth="col-sm-10"/>
                <#input type="text" labelWidth="col-sm-1" inputWidth="col-sm-11" id="description" name="描述" value="${item.description}"
                labelWidth="col-sm-2" inputWidth="col-sm-10"/>
            </div>
        </div>

        <div class="row btn-group-m-t">
            <div class="col-sm-10">
                <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                clickFun="ChannelInfoInfoDlg.editSubmit()"/>
                <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ChannelInfoInfoDlg.close()"/>
            </div>
        </div>
    </div>

</div>
</div>
<script src="${ctxPath}/static/modular/ds/channelInfo/channelInfo_info.js"></script>
@}
